package com.ysh.gsm;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ysh
 *
 */
public class CallMessage implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1335610129209267311L;
	private Date dateTime;
	private String name;
	private byte protocol;
	private byte direction;
	private short binCodeLen;
	private short deCodeLen;
	private byte[] binCode;
	private String detailCode;
	private int bsc;
	private int cell;
	
	
	public CallMessage(Date dateTime, String name, byte protocol,
			byte direction, short binCodeLen, short deCodeLen, byte[] binCode,
			String detailCode, int bsc, int cell) {
		super();
		this.dateTime = dateTime;
		this.name = name;
		this.protocol = protocol;
		this.direction = direction;
		this.binCodeLen = binCodeLen;
		this.deCodeLen = deCodeLen;
		this.binCode = binCode;
		this.detailCode = detailCode;
		this.bsc = bsc;
		this.cell = cell;
	}
	public int getBsc() {
		return bsc;
	}
	public void setBsc(int bsc) {
		this.bsc = bsc;
	}
	public int getCell() {
		return cell;
	}
	public void setCell(int cell) {
		this.cell = cell;
	}
	public CallMessage(int bsc,int cell){
		this.bsc=bsc;
		this.cell=cell;
	}
	public Date getDateTime() {
		return dateTime;
	}
	public void setDateTime(Date dateTime) {
		this.dateTime = dateTime;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public byte getProtocol() {
		return protocol;
	}
	public void setProtocol(byte protocol) {
		this.protocol = protocol;
	}
	public byte getDirection() {
		return direction;
	}
	public void setDirection(byte direction) {
		this.direction = direction;
	}
	public short getBinCodeLen() {
		return binCodeLen;
	}
	public void setBinCodeLen(short binCodeLen) {
		this.binCodeLen = binCodeLen;
	}
	public short getDeCodeLen() {
		return deCodeLen;
	}
	public void setDeCodeLen(short deCodeLen) {
		this.deCodeLen = deCodeLen;
	}
	public byte[] getBinCode() {
		return binCode;
	}
	public void setBinCode(byte[] binCode) {
		this.binCode = binCode;
	}
	public String getDetailCode() {
		return detailCode;
	}
	public void setDetailCode(String detailCode) {
		this.detailCode = detailCode;
	}

}
